package com.itheima.springbootmybatishomework1.pojo;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class Student {
   private  Integer id;
   private  String name;
   private  String no;
   private  Integer  gender;
   private  String phone;
   private  Integer  degree;
   private  Integer violationCount;
   private  Integer violationScore;
   private  Integer classId;
   private LocalDate createTime;
   private  LocalDate updateTime;

    public Student() {
    }

    public Student(Integer id, String name, String no, Integer gender, String phone, Integer degree, Integer violationCount, Integer violationScore, Integer classId, LocalDate createTime, LocalDate updateTime) {
        this.id = id;
        this.name = name;
        this.no = no;
        this.gender = gender;
        this.phone = phone;
        this.degree = degree;
        this.violationCount = violationCount;
        this.violationScore = violationScore;
        this.classId = classId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}
